package service;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;

public class MyLocalService extends Service {


    MyBinder binder = new MyBinder();



    @Override
    public IBinder onBind(Intent intent) {
        // TODO: Return the communication channel to the service.

        return binder;
    }


    public class MyBinder extends Binder {
        public int add(int a, int b){
            return a+b;
        }
    }
}
